<?php 
namespace Yang;

class Databases{
//定义一个数组option,将需要传的值放在里面
	public $option = array();
	
	public function where($where){
		$this->option['where']=$where;
		return $this;
	}
	public function order($order){
		$this->option['order']=$order;
		return $this;
	}
	public function limit($limit){
		$this->option['limit']=$limit;
		return $this;
	}
}
 ?>